import Home from '../pages/Home/index'
import My from '../pages/My/index'
import Layout from '../pages/Layout/index'
import {createBrowserRouter} from 'react-router-dom'
const router=createBrowserRouter([
    {
        path:'/',
        element:<Layout/>,
        children:[
            {
                path:'/',
                element:<Home/>
            },
            {
                path:'/my',
                element:<My/>
            }
        ]
    }
])

export default router